<template>
    <div>
        <h2 v-transTime="'YYYY/MM/DD'">1625192872330</h2>
    </div>
</template>
<script>
import { getCurrentInstance } from 'vue';
export default {
    setup() {
        //拿到组件实例
        const instance = getCurrentInstance();

        console.log(instance.appContext.config.globalProperties.$name)
    },
    // created() {
    //     console.log(this.$name)
    // },
    // methods: {},
}
</script>
<style>
</style>
